import request from '@/utils/request'
import { unionApiUrl } from '@/api/config'

/**
 * 竣工归档计划列表
 */
export function getPlanList(data) {
    return request({
        url: unionApiUrl + '/archiveCompletionInfo/getPageArchivePlan',
        method: 'post',
        data
    })
}

/**
 * 获取计划核定时的信息列表
 */
export function getPlanCheckDetail(data) {
    return request({
        url: unionApiUrl + '/archiveCompletionInfo/getPageArchiveCompletionInfo',
        method: 'post',
        data
    })
}

/**
 * 核定归档
 */
export function checkArchive(data) {
    return request({
        url: unionApiUrl + '/archiveCompletionInfo/approvalArchive',
        method: 'post',
        data
    })
}

/***
 * 处理归档消息
 */
export function sloveArchiveMsg(data) {
    return request({
        url: unionApiUrl + '/archiveCompletionInfo/updateByPrimaryKeySelective',
        method: 'post',
        data
    })
}